<template>
  <div style="padding: 10px">
    <d-input
      v-model="value"
      placeholder="请输入金额,最大值99999.99"
      :max="99999.99"
      :format="{ type: 'money', decimal: 2 }"></d-input>
    <p>原始value值：{{ value }}</p>
  </div>
</template>
<script setup lang="ts">
  import { ref } from 'vue'
  const value = ref('')
</script>
